fix "Cannot redeclare class AppModel" when run test in real application