More warning fixes
Revert "Removed another old ALACRITY test program from compilation, since the Query API has changed and there's no point in updating this unused code to match it"

This reverts commit 93e95c832c0e960b17520b7ffb13858efc894bbe.