Added tests for tag reading.