using :before_all makes some tests fail