Session and Database test coverage