Fixed ignore paths
Added tests