switch to sqlite for testing. clean up test envs a bit.