modified validation in kontenklasse

tests now working