add and remove tests functioning