Adding unit tests for String::length() functionality