fixed test that fails on jenkins