Enabled some tests

Few tests are still missing and there is a lot of commented out code which is either an old code that has been replaced, a missing test or test for functionality no longer present in the new API (one without validation messages).