Add tests and code for tags on instances. 

for issue #4