fixed test_requires
increased error detection