Added tests to expose flaw in mocking byref methods.  Implemented fix
put some tests in strict mode to expose compile error, changed way results are given to get passed this error