testcase for lazy binding