TEST SYSTEM FOR ELECTRONIC DEVICES PROVIDED WITH AN ACCELEROMETER, AND A METHOD THEREOF