100% test covereage of maim.models