Added more unit tests to test.app.js