add shunit2 based unit tests.