Added sample, reduce and merge test