method interception tests added. rake file modified