Testfix

Fixed two errors in test files