Fixed issue with missing next version
Added smoke tests (incomplete)
Fixed a few minor bugs