Added first method (get) with tests.