Add class tests for generated JoinMatchers