Added tests and methods to van.rb and van_spec.rb