updated preGameInterface + added unit tests