model specs & added localhost to postgresql test environment