Change a test to use embedded resources if available. If the resource is not
found in the (e.g. running from an IDE), it will fall back to the old
behavior of building it directly.