read test as string