Bumped test timeout to 5000ms to comply with travis.