Disable our lock factory tests, if clover is enabled (the exact reason is unclear, but it looks like Clover gets a deadlock if instrumented code is run inside the ANT JVM)