test for embedded attribute
fix order of arguments to build_path