FileEntity created and connected form, did a bit of bugfixes on test FileEntityTypeTestCaste