Update .gitignore. Ignore core file.
test: Add unit test.
Update .gitignore. Ignore test/*.txt.
Fix: typo in test-strlen.in.
Fix: Unit-test hang in reset_handler.