Add tests for the versions controller