add unit test for deprecating properties