Automatic toggling of assertions based on the 'dev' query string flag