refactored testing of the operation element out into its own test class.