updated readme and made tests work