Added test for file entity (de)normalization