Implementing and testing primary urls