add fallback test
add license to file header
add phpdoc
add producer tests
small bugfix in producers