Buggy bindings in inserting duplicate tweets; moved inside testOnly block