added show/hide source clean-up to testpage