test(macTime): Switched to use scope function instead of click event