Credits model w. test