Add two server tests.
Change check_needle semantic: now is a waitforneedle.