test for cap_enter