fixes #4 added unit tests for add_feedback