The project is no longer maintained and the maintainer recommends TestContainers.
furthermore we have had lots of trouble with use of embedded postgresql.. It's been worst on Windows and we have made some (horrible) ways to make testing a little faster.
Other alternative : https://github.com/opentable/otj-pg-embedded
And now the (for now) - weird