All the condition related stuff should be moved to a seperate condition test file.

I think the condition test should be set up from scratch and backported to the core because they are not being of a very good quality. I also don't see any time based stuff going on. And checks for interruption. Or multiple conditions per lock..  So we should set up the tests from scratch, harvest what can be harvested and then backport it to the core.