Only '#test' should be handled by getElementById, '#test a' should be done by the query selector