Using STOPPED msg while for test querying and fixed tests