fixes so tests run nicely in IDE