fixed typo in test
removed unused import
whitespace
removed unused method
light refactor
added `operations.define_operation`