Implementation and Tests for GetProperties