improved the tests for methodRegisterAssignment; accounted for 'this' parameters