Added throw test. Updated readme.