move util tests for app dir to util dir