Add tests for new, show and create actions.