Spring cleaning in manual tests.

Fix the ones that are broken, remove outdated constructs, turn into
autotest where it seems sensible.

Change-Id: I0fa7e95af4e49ea190b739f779ddf7e4e8b6f96a
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>