add new methods for unittests
add new methods for unittests