added unit test class for functional test file