testing for bsd