Add test for paperclip