Added rspec tests for assignment and field data controllers