Added a getObject method
added parameter to test file
Added @param parser