SB Testing DB explanation in thesis, updated sample codes