more tests
fix tests after Tony's commit and add a test for the bug he fixed
add tests for 2 old bugs
add two more tests (test bogus parameters and bogus server respsnes)
new tests. what a crazy idea...
12