test fix #822