add error and fixed link

add more error cases and link click is working, (silly me I should keep
everything in 1 testcase)
add Test new task