Update test.py

add negative test case and zero test case