Fixed a few small bugs and typos.
Added the first full production test!