passing test for errors and fake server