Testing OperationDeserializer.

Test checks if OperationDeserializer returns the right UserOperation objects.
Some fixes needed.
Related to issue karlitrotski/CodingSpectator/#35.
Pair programming with @cinai.