fixed bug in tests, modified requirements