event get tests now check the database