Something is wired wrong for sure,and yes the check engine light will most likely cause you to fail emissions most places wont even test it with the light on.