story model and some jasmine tests