Replace `and` by `&&` operator
Use a class for assert test instead of `PDO`