test_*: increased functionality

- test_video
  * added option for overlay
  * added detection of an input device when element is tvsrc

- test_audio
  * fixed input arguments
  * added I/O device selection option
  * amixer setting affect's first two sound cards