refactor: move test data into helper file for reuse