test: add amsg-build regression test