Rewrite preparations list test to get ID from URL