Grosjean to test BMW DTM car