Test now wipes the DB before starting

Need to close file descriptors on starting a subprocess otherwise Shock
inherits the wipe server's port and weird things start happening
make test works