initial commit with the start of a middleware to manage newscred api params
fix two typos
adding minitest and tests
fixing exceptions