unittesting Model