Added tests for helper extend method