Fixed warning in proffersor test