bypass pump when unittesting