added missing InvalidArgumentException,
simple failure tests