Added assertion to compilation test