Linting issues.
Fix: empty stories did not yield calculations.
Added pg tests to the regression suite.