Add tests for --interfacename validation