When a test class instantiates the index for testing it doesn't shut down by default.
This causes the next class trying to use it to wait for login lock, which never becomes available.
In effect this makes testing the index from 2 separate test classes impossible.
Currently this happens if one tries to run the index test and the AOP tests in a single suite.
This is worked around by adding the AOP tests to the Integration suite.