Convert to proper black-box testing from separate _test package.