started implementation for tests of stop method