refactor unit test code

remove debug code. and shortcutting test code avoid setUp function called repeated
fetch url from <form action=..> and <a href=..> instead of only <a href=..>
Merge pull request #4 from jetz/add_form

fetch url from <form action=..> and <a href=..> instead of only <a href=...