Fixed functional test
Updated libs (postgres and hibernate)