notes and junk tests for database stuff