guards tests