flex tests