hack to make tests work