Fix test error by adding decorator

The view was expecting a decorated object but the test wasn't giving it
one
Remove redundant spec file