Added tests for helper