made the test methods through assertion errors so they could be caught