Basic tests for tagging functionality