Updated JUnit tests for getters and setters