unit test for inflight model.refresh call

pertains to #12