Moved test calling into dedicated function for external use
Merge pull request #26 from Markush2010/master

Moved test calling into dedicated function for external use