Adds basic tests, configurable sleep time