small fixes. Adding test files