tests: move fake server tests into unit