Fixed vacuum
Added tests for vacuum