extended tests, added alert functionality, added proper dates