Fix v8 api test and tweak makefile

Review 1084 by @mlucy
Remove old migration script

Review 1085 by @mlucy
Closes #1749
Merge branch 'next' into sam_style