Added getSource support to the test page

Added getSource support to the test page
where is |media| set?