Why test tags in isolation?
Custom tags should be tested away from the application specific pages on which they will ultimately be used, in the same way that we test Java classes individually with JUnit. This helps to assert that they perform as expected and also provides a more reliable way to test that they can be reused elsewhere in the future, be it on different pages or different web applications.