Added argument check
Added testing behaviour with debug output when arguments are == 2