Add test cases for parseDuration
Remove the now redundant types*.go files