Change fail() and fail_str() to assert()

Also remove test counters