Added test for building of tags. Closes #31