Unit Test for rails 4