test registration controller
tested and fixed user#valid_attribute?