added some tests for utils
added platform specific helper for Linux