add more unit tests for impute.error