added testing routine
first setup completed
fixed scale error