Corrected wrong asserts in test
Added tests and more functionality for slots