Added tests for #19
Added branch that resets the slotname after a wtype change

Fixes #19
Merge branch 'bugfix/issue/19' into develop

closes #19