test flag positions