added test to helper spec