[Fixes #1, Fixes #2] Add tests and build status badge