add test for entropy