Added -a code to test.