Contextual Integration Testing of Classes