test for immersion