fix #199. make the test timeout configurable.