OpenProfile test code