Added a unit test for embedded resources with conditions