add idea project files, tests for swapper