A testing example to demonstrate best practices in testing Angular JS