BSD tests fix