Fix express server creation in test