Added tests for the variable property bug solution