Adding regression test after https://github.com/tvcutsem/harmony-reflect/issues/11
last refactored traps
Fix apply test and start built-in algorithms tests