refactored unit tests
refactored API a bit
deleted old test project