core: Convert TimeSpanTest to JUnit4 syntax

Change-Id: I5c8660975a1f0500fe2fc455330c0f2198d54cc5
Signed-off-by: Allon Mureinik <amureini@redhat.com>