Added waiting to the end of test (to examine error log)