shared examples for jasmine test suite