Clean and speed up tests

by making the mock server respond faster