Refactored tests and controller for movies.