implementing test for fbimg model.