updated tests for removeDuplicates and added them into a module with a setup function for a test array