browser tests
rafactor to use inheritance
docs