Move compile assert tests out of test fns