added medium tests for endpoints