Create test data function