remove double 'moving into deletion' function
make tests work in firefox