Add more tests for constructor.  Create two accessor methods.  Add function used in testing.