Adds tests for tag expressions