fixed an issue with testing default props