Made junit a test dependency

fixes #278