moved test-programs to main testing part of lib