test embedded resource