Created tests for mutations
Moved mutated code to subpackage