Fixed FileEntityEditTest(), added new entity reference to FileEntity