How can we write unit test or e2e test for ionic2?