Jasmine unit tests for the table controller