Moved helper and utils tests to a dedicated file. Added few minor tests for helper functions.