#1, #3: Added docstrgins to _compose_info(). Fixed bug with hash_fn.
#1, #9: Added partial implementation of test for _compose_info().