readded string tests (accidentally deleted) and moment.js