more tests and ipdb_test util