UNIT TEST QB