Added test case from bug report (except the non-static method calls that were called statically)