Wrote some spa.model.js tests. Need to fix spa.shell.js tests