do not need main in test
add test framework