Fixed the dictionary bug! Added tests for string-related code.
Test cleanup