bulk test
added tests
fixed errors in test.py