Added test to check that /static/ as a prefix of url is removed