adding tests for AMR