more tests and websql more fixes