Creating test function

Creating test function for test if if the getters and setters work or
not.