Conditionally compile unsafe test