refactoread tests