wrote more tests for functions
Merge pull request #29 from Apollo117/add_more_tests_two

wrote more tests for functions