printing error on failing test