Copy strlen unit test from rtenv-gdbautomation for first try, success.