More KATCPResource tests and accompanying fixes