bad test, needs rewriting