[Ian, Shane] adding basic test for connections by type, and fixing styling bug