Fix some issues with the Properties class and add a Unit test for it to help increase the code coverage of the tests and prevent errors from getting in again.