Minor bugfixes
Testcase cleanup/fixes
1.0 release