Reworked test cases, because SQL stores data starting from 1 instead of 0