Some jasmine+promises examples, in the hope to improve them to become good tests.