Unittest and fix for missing prereqs of features in to_string output

Fixes #31