Fix mockwebserver and make test environment clean

These new tasks make sure to delete everything in tests and assets before copying things over so we can make sure we have a clean environment. Otherwise old tests (deleted stuff, etc.) can stick around and break things.