Code and test of the assignment URL