adds first tests to pie chart directive