test detecting along correct axis