am-project: Fix regression test