Writing tests for ETL