Add test and default rake task