adds getters, adds some assertions to tests