Added clean-gen profile to test builds and added some debugging
information to a failing Adapter test.