Added traceback and test print