using commons to load files in tests. added asserts too. close #25