Bug 1006754: NDEFUtils unit tests and minor refactor