fixed test
needs longer sleep time, otherwise a NullPointerException happens