test made more functional
not used datasource() bean factory method converted into private method in the configuration
Merge pull request #1 from karolkalinski/master

test made more functional