Adding a test to test https://github.com/CakeDC/tags/issues/43 the unwanted creation of empty tag records, fixing some CS issues as well