fix fatal error in tests
support for proper build automation