Add tests for pasting