hadcode test