Test file changed and to test -am cmd