Fix and update some gpu tests.
Update and fix some misc tests.