Renamed basic_test -> test_basics.
Added pathological input tests.