Added basic test infrastructure.