added test for redirection to new gallery after creation. added controller fix too