fix bug in MethodCallError constructor
typo
some tests for brtiney's core