added some unit tests with shunit2