Added test and fixed getProp call issues.