adds test for timestamp validation