Add selenium test for item query