Refactored LINQDatabaseTests for readability