removed query hex states and added another test