improve testing file