Refactoring cucumber tests to extract base step definitions. Refactored movie resource to return a jax-rs response