added unit test for visibility timeout changes, adjusted some other unit
tests, allow 0 value for waittime parameter