updated README and added a test for empty data -> 404