fix bug: refinement is not triggered after timestep 0 when it should

Also add test that verifies that this is correct now.