Injecting database connection into context
Tests for REST context
Using context constructor