added tests for curry, patched backend contamination