Updated tests and SQL file.