Improve phantoms tests
Fix some strange behavior in javascript working with dates using setMonth