testing to solving a bug in detect test files method, now is ok.