@Test
public void testStringToBytes() {

	final byte[] correctAnswer = new byte[] { (byte) 166, (byte) 253, 0, 18, (byte) 184};
	String hexString = "A6FD0012B8";
	byte[] bytes = HexConverter.hexToBytes(hexString);
	assertEquals(bytes.length, correctAnswer.length);
	for (int i = 0; i < bytes.length; i++)
		assertEquals(correctAnswer[i], bytes[i]);
}