Added some more fieldlist test cases
Check for null string input into fieldlist and fix strbuf bounds issue