add mixing constants test for python
update Makefile
fix mixing constants reference output