testing module for rails