Update spring-test re: deprecated queryForInt()

Now invoking JdbcTemplate's queryForObject() method instead
of the deprecated queryForInt() method within the test suite.

Issue: SPR-10257
Suppress warnings for resource leaks