test code for hacknight