added self transition tests