Error on adding test
Fix #704