added BasePageElement module and update testTopbar method in homepage