Add a test for basic error string
Remove some debug print statements