Added more test cases to datetest spike
Corrected error in new provider creation. Fixes #386, Closes #386