added unreachable error, fixed one test