Removed unnecessary Thread/sleep call from test