add test for default value handling, improve readme