Add test for TMS create dialog
Fix #34