Added method reserve
Added method reserve
Added test for the method reserve