Added enumeration unit test
added stop test