Autotesting

Fix problem with