added jasmine tests to see if they make some sense.