Wrote test for getters