added test application (uses postgres)