Fix Memory::Dataset#project and add unit tests