implemented SQL tests for the full spec... now continue with implemenation and get tests green