Added tests on modes