minor whitespace fix
added a test for category creation
wrap our plugin requirements in a Rails.configuration.to_prepare block