Add test for too short buffers in CrossFade

Also some minor tidy ups.