ENGINE-1559 + ENGINE-1099 : Support Constant with Date return type
+ Move unit tests in right place