adapt and fix epic tests