Remove whitespace
Add gtest and first test. Fix bug detected by it