Add tests for getting interface state