first version of hw2_tests.c