adding three working tests and minor fixes to Operation