completed calculator class and tests (currently uses referenceproperty)