Fixed bean validation ClassDefNotFound exception caused by missing dependencies, fixed tests not to cause locks on Postgres.