simplify test/bug