Add unit test for generated ImmutableOhlc class