changed to using time command instead of measuring time manually inside test