added unit tests for render api
deleted some tests