test was incorrect when constant somehow got defined