added test for lvalue and parameter