added primitive unittesting and correcte exact funktion