using casperjs to run the tests
now with a separate CLASS (refactoring)
sepparating the tests into different files (MORE REFACTORING)