Added tests to misc.test for tag split