Fix mocking of properties - fixes #8