Added warning messages to the asserTrue/asserFalse in EntitiesTest
Added functionality union