added rspec test of tags ierarchy