update test format, write more tests