added unit tests for devicepool and file