valid and read test