Fixed tests and removed a failing test. Tests now run properly till threads complete