Removes hookTest and makes AutoloadTest pass