Added test_lsmagic and test_time