add traceback for testing
fix test