migrate schema and removal depercated tests