Add spec helper
Implement active record spec