Removed junit tests from latches