Add tests for SmartProperty