fix warnings
added asset api tests (based on tickets)