test insert topics into DB