implement test list create
add more tests and unify whitespace style