A selection useful snippets for angular jasmine testing