updated export function to include test notes