Fix python script and adjust test values.