Testing "shake" detection