Added testing files for session and queries to database