Added (apply) and a few simple tests for it