fixed tests for labels
removed unused jquery
fixed tests for error pages