Unit Tests for Operations

* Move op creation from errors to op
* Test creation and page load