added unit tests for core slider