simple tests, fixes, and readme example corrections