Refactor: Separate function tests. Use pre-loading for datastore data to improve performance.