#8088 - Fixing failing tests

Database port for H2 was fetched wrongly. Using systemEnvironment#getDatabaseSeverPort for getting the port value.