Add functional tests for pasting items.