added basic tests for management