Add login test
Add tests for /measurements