update dev dependencies and added invalid format error test