Apply coding style in tests
Add osl_int_get_d function