Teachers union calls state tests flawed