Implemented add static method
Added tests for the static add