WIP Jasmine tests and filling out the views II.