Created MergeError Class & modified specs

* Created Merge Error Class and used that instead of System Exit
* updated specs