Moved tests to unit tests

Created unit test function and test EDLs for different time basis.