added model (unit) tests