replaced confess with throw_exception
Added tests for MethodNameNotGiven
Wrote class for MethodNameNotGiven