add test for length()
add test for empty string