working on tests
added support for multiple keys; tests