created tests for methods Exit and Enter