adding function to test all specs