Testing of analog circuits