added mirror sample to unit test