fix tests Bug model