Added tests to presence