Made css optional and added mocks as dependency