add first PSGI test; update root calculation to remove blib which was an extra directory when running 'make test'