move lib es tests to test_commands