Filevalidation tests