Added RSpec tests for the API user controller.