add cmake test method file