Added before and after hooks
Now fire up server automatically for tests