Move class tests under class

@rafaelfranca
One way is keeping the file as it is now. Other way is to create a new file duplicating some of the tests included on this file.

I believe it is the best thing to do is to keep it as it is now.