Added unit tests regarding model.py and its functions.
Authored by: tlinnet 2014-08-18
Parent: [r25052]
Child: [r25054]