Added tests for helpers