fixed smoke tests to work with both linux and os x