Modify file repository test

Following FileInterface::getIdentifier() and setIdentifier()