Functional tests access the jpa persistence provider to delete the test database.

persistence.xml does not cache entities now, to ensure deleting the db in the test syncs with what the persitence provider in the war sees.