added unit tests. minor changes to worldtime.js