Added dev config, added tolerable error object, improved tests