Added traits to test methods. Fixed bug when the solution contains a test project with no test methods