adds test data and unifies implementation