fixed build warnings, which lead to fix in test, and updated readMe while I was at it