Fixed bug where test/function returned F instead of C