Are there some Jasmine tests for this?