Add backend test
better implementation!