Added tests for presence