Add test for #allowed_tests