Modified few issues with keycapture test as per XML