Moved test tables into test method, made keywordobject a base class