Unit test pass, Illegal invocation problem in progress