Add model with only name test + bug fix for uniqueness check
Squashed commit of the following:

commit 00458cf0989e2065dedd2dadcf1128c7710dafee
Author: Matus Kmit <matus.kmit@zhdk.ch>
Date:   Mon Feb 18 13:52:45 2013 +0100

    Add model with only name test + bug fix for uniqueness check