changed ORM schema. fixed issue with primary keys and constraints
 updated unittests db tearDown