added closure timeout
fixed tests when dev deps are not available