https://www.rankaza.com/best-practices-for-testing-angularjs-applications/