adjusts tests to be less global, updates readme