Add junit integration testing

Closes #200