test embedded classes