added tests for csp solver functionality
added csp tests to test.html
implemented additional functionality for csp.Solver