Move outline tests to an additional file
Implement and test get_attachments