Fix testing mistake
Added documentation and formatting