Add a unit test for the new ThreadService#getParent(Thread) method

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
ThreadServiceTest: add @Before and @After

This is in preparation for additional similar unit tests.
ThreadServiceTest: test more getParent cases
ThreadServiceTest: test the other methods, too