Fixed bugs that were causing three-condition-study-tests to fail.