Add small tests for URL redirect functionality