Updated ionic unit test