modified bitwise_cast unit test to better support MIC