fixed using this keyword, added structured test case
all working