rewrite tests to use text fixtures