add jasmine unit tests

updated example-jasmine-unit.js with tests from admin_test.js