Testing hardware acceleration