simplify test_basic