second part with SQL unit testing done