adding test.pl, refactor package name (shorten by removal of 'swap')