fixed optional tests
some diag output