Generation of integration tests for self-testing components