tests: Add behavior test infrastructure.