Reverted knight test code