update test logic and hex values