test module for formatting timestamp