rename tests from x.py to test_x.py so nosetests picks them up automatically, and add more tests