getters for unit tests