Change requiresDependencyResolution to Test to be able to generate assertions for classes fron test sources.