created an Express mock for unit testing