how does the test work, for example:

test eax, eax
je 1500d7e3

is this comparing eax to eax and then jumping if they are equal. and if so, wont they always be equal so the jump will alway happen ???