Added test for the compact and without