add discoverdevices tests with invalid parameters