more runtime tag tests, and clean up code for existing ones