Added getSource support to the test page

Added getSource support to the test page