Adding physics unit test

Trying adding inline keyword to remove link errors
Fixed link errors